package com.lcy.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lcy.reggie.common.Result;
import com.lcy.reggie.dto.SetmealDto;
import com.lcy.reggie.entity.Setmeal;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author ChunBaBa_
* @description 针对表【setmeal(套餐)】的数据库操作Service
* @createDate 2023-01-17 14:00:28
*/
public interface SetmealService extends IService<Setmeal> {

    Result<String> saveSetmeal(SetmealDto setmealDto);

    Result<Page> pageResult(Integer page, Integer pageSize,String name);

    Result<SetmealDto> select(Long id);

    Result<String> updateSetmeal(SetmealDto setmealDto);

    Result<String> updateByIds(List<Long> ids);

    Result<String> updateStatus(Integer status, List<Long> ids);

    Result<List<Setmeal>> listSetmeal(Setmeal setmeal);
}
